package com.xyht.sca_s.student_manage_system.modules.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.student.entity.SmsStudentInfo;
import com.xyht.sca_s.student_manage_system.modules.student.entity.req.SmsStudentExportReq;
import com.xyht.sca_s.student_manage_system.modules.student.entity.req.SmsStudentInfoReq;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;
import java.util.concurrent.Future;

/**
 * <p>
 * 学生学籍信息表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2022-12-03
 */
public interface SmsStudentInfoService extends IService<SmsStudentInfo> {
        Future<ResponseResult> batchImportStudentInfo(Map<String,Object> map, String user_id);
        ResponseResult addStudentInfo(SmsStudentInfoReq smsStudentInfoReq);
        ResponseResult getOrgTree();
        ResponseResult getStudentInfoList(Integer org_id,String stuCollage,String stuMajor,String stuGrade,
                                          String stuClass,Integer stuStatus,String searchStr,Integer pageNum,Integer pageSize);
        ResponseResult getStudentInfoDetail(String stu_id);
        ResponseResult getStudentDropBoxContent(Integer org_id);
        ResponseResult getAddStudentDropBoxContent(Integer type,Integer id);
        ResponseResult batchDeleteStudentInfo(Map<String,Object> map);
        ResponseResult updateStudentInfo(SmsStudentInfoReq smsStudentInfoReq);
        Future<String> exportStudentInfo(SmsStudentExportReq smsStudentExportReq, HttpServletResponse response);
        ResponseResult exportStudentStatus(String user_id, HttpServletRequest request, HttpServletResponse response);
}
